﻿<%@ page title="" language="C#" masterpagefile="Main.master" autoeventwireup="true" inherits="Second_MainContent, App_Web_olafkec5" %>
<%@ Register Src="~/usercontroll/MainLogin.ascx" TagName="MainLogin" TagPrefix="ml" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" Runat="Server">


<form id="Form1" runat="server">


<div style=" margin:10px auto; width:930px;">
    <div style=" float:left; width:680px; height:200px; background-color:#666666;">
    
    <script type="text/javascript" language="javascript">
    var slidespeed = 3000;
    var slideimages = new Array("../images/Poster/Poster1.png", "../images/Poster/Poster2.png", "../images/Poster/Poster3.png");
    var slidelinks = new Array("../Main/MainContent.aspx", "../Main/MainContent.aspx", "../Main/MainContent.aspx");

    var imageholder = new Array();
    var ie55 = window.createPopup;
for (i=0;i<slideimages.length;i++){
    imageholder[i] = new Image();
    imageholder[i].src = slideimages[i];
}

function gotoshow(){
    window.location = slidelinks[whichlink];
}
</script>

    <!--广告轮番展示-->
    <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="javascript:gotoshow()"><asp:Image
            ID="Image3" runat="server" ImageUrl="~/images/Poster/Poster1.png" name="slide" width="680px" height="200px" border="0" style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)" /></asp:HyperLink>
   
    <script type="text/javascript" language="javascript">
        var whichlink = 0;
        var whichimage = 0;
        var pixeldelay = (ie55) ? document.images.slide.filters[0].duration * 1000 : 0;
function slideit(){
        if (!document.images) return;
        if (ie55) document.images.slide.filters[0].apply()
        document.images.slide.src = imageholder[whichimage].src;
        if (ie55) document.images.slide.filters[0].play();
        whichlink = whichimage;
        whichimage = (whichimage < slideimages.length - 1) ? whichimage + 1 : 0;
        setTimeout("slideit()",slidespeed+pixeldelay)
    };
slideit()
</script>
   
    </div>



    


    <!--首页小登录模块-->
    <div style=" float:left; width:250px; height:200px; background-color:#336699; vertical-align:middle; padding-top:0px;">
        
        <ml:MainLogin ID="login" runat="server" ></ml:MainLogin>
    </div>
    
</div>






<div style=" padding-top:5px; width:930px;">

    <!--接应用的图片板块-->
    <div style=" float:left; width:465px; height:140px; background:url(~/images/IWantGetProduct.png) no-repeat center;">
        

        <div style=" width:200px; height:140px; float:left;">
            <asp:Image ID="Image6" runat="server" Width="200px" Height="140px" ImageUrl="~/images/money.gif" /></div>
        <div style=" width:265px; height:140px; float:left;">

            <div style=" font-size:22px; font-family:华文隶书; font-weight:bold; color:#3399ff; cursor:pointer; margin-top:12px;">
                <asp:HyperLink ID="HyperLink55" runat="server" style=" text-decoration: none;" NavigateUrl="~/Customer/Product.aspx">◆我要接应用</asp:HyperLink></div>
            <div style=" font-size:22px; font-family:华文隶书; font-weight:bold; margin-top:8px;">下载越多、投放越多</div>
            <div style=" font-size:22px; font-family:华文隶书; font-weight:bold; text-align:right; margin-top:10px;">
            收获就越大</div>
            <div><asp:HyperLink ID="HyperLinkRegiste1" runat="server" 
                NavigateUrl="~/Main/Register.aspx"><span class="buttonPicture">现在就注册</span></asp:HyperLink></div>

        </div>

        <!--
        <table border="0" cellspacing="0" cellpadding="0" style=" width:465px; height:140px; background:url(~/images/IWantGetProduct.png) no-repeat center;">
  <tr>
    <td style=" width:200px;">&nbsp;</td>
    <td>
        <div style=" font-size:22px; font-family:华文隶书; font-weight:bold; color:#3399ff; cursor:pointer;">
            <asp:HyperLink ID="HyperLink4" runat="server" style=" text-decoration: none;" 
                NavigateUrl="~/Customer/Product.aspx">◆我要接应用</asp:HyperLink></div>
        <div style=" font-size:22px; font-family:华文隶书; font-weight:bold;">下载越多、投放越多</div>
        <div style=" font-size:22px; font-family:华文隶书; font-weight:bold; text-align:right;">
            收获就越大</div>
        <div><asp:HyperLink ID="HyperLinkRegiste" runat="server" 
                NavigateUrl="~/Main/Login.aspx"><span class="buttonPicture">现在就注册</span></asp:HyperLink></div></td>
  </tr>
        </table>-->
    </div>



    <!--公告版块-->
    <div style=" float:left; width:465px; height:140px;">
        
        <div style=" float:right; width:465px; height:38px; background-color:#ffffff;">
            <input class="buttonstyle" type="button" name="rulesubmit" value="公告" style="line-height: 23px"/></div>
        <div style=" float:right; width:465px; height:20px; background-color:#ffffff;">
    <asp:Repeater ID="RepeaterNotice" runat="server">

    <HeaderTemplate>
        <table style=" width:465px; height:20px; margin-top:0px;">
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td>
            <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("nt_title")%>' NavigateUrl='<%#"~/Other/NoticeDetails.aspx?id="+ Eval("nt_id") %>'></asp:HyperLink></td>
            <td style=" width:100px;">
            <asp:HyperLink ID="HyperLink2" runat="server" Text='<%# Eval("nt_time","{0:d}")%>' NavigateUrl='<%#"~/Other/NoticeDetails.aspx?id="+ Eval("nt_id") %>'></asp:HyperLink></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
            </asp:Repeater>
            
    </div>
        
    </div>
</div>






<div style=" padding-top:10px; width:930px;">
    <!--最热应用推荐板块-->
    <div style=" float:left; width:460px; background-color:#ffffff;">
        <table id="Table2" width="460px" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><input class="buttonstyle" type="button" name="rulesubmit" value="最热应用推荐" style="line-height: 23px"/></td>
  </tr>
  <tr>
    <td>

    <asp:Repeater ID="RepeaterHotProduct" runat="server">
    
    <ItemTemplate>
    <table cellspacing="0px" cellpadding="0px" class="tableProduct" style=" padding-top:0px;">
  <tr>
    <td rowspan="2" class="titleProduct">
        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%#"~/Customer/Product.aspx?id="+ Eval("s_id") %>'><asp:Image ID="Image1" runat="server" CssClass="imageProduct" ImageUrl='<%# Eval("s_image") %>' /></asp:HyperLink></td>
    <td rowspan="3" style=" height:5px;">
        <div><asp:HyperLink ID="HyperLink77" runat="server" CssClass="titleProduct" NavigateUrl='<%#"~/Customer/Product.aspx?id="+ Eval("s_id") %>' Text='<%# Eval("s_name") %>'></asp:HyperLink></div>
        <div><asp:Label ID="Label2" runat="server" Text='<%# Eval("s_word") %>'></asp:Label></div></td>
  </tr>
  <tr>
  </tr>
  <tr>
    <td class="footStateProduct">被使用率：
        <asp:Label ID="Label3" runat="server" Text='<%# Eval("s_count") %>'></asp:Label></td>
  </tr>
</table>
</ItemTemplate>

</asp:Repeater>


    </td>
  </tr>
        </table>
    </div>



    <!--最新应用推荐板块-->
    <div style=" float:left; width:460px; background-color:#ffffff;">
        <table id="Table3" width="460px" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><input class="buttonstyle" type="button" name="rulesubmit" value="最新应用推荐" style="line-height: 23px"/></td>
  </tr>
  <tr>
    <td>
    
    
        <asp:Repeater ID="RepeaterNewProduct" runat="server">
    
    <ItemTemplate>
    <table cellspacing="0px" cellpadding="0px" class="tableProduct">
  <tr>
    <td rowspan="2" class="titleProduct">
        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%#"~/Customer/Product.aspx?id="+ Eval("s_id") %>'><asp:Image ID="Image45" runat="server" CssClass="imageProduct" ImageUrl='<%# Eval("s_image") %>' /></asp:HyperLink></td>
    <td rowspan="3" style=" height:5px;">
        <div><asp:HyperLink ID="HyperLink55" runat="server" CssClass="titleProduct" NavigateUrl='<%#"~/Customer/Product.aspx?id="+ Eval("s_id") %>' Text='<%# Eval("s_name") %>'></asp:HyperLink></div>
        <div><asp:Label ID="Label2" runat="server" Text='<%# Eval("s_word") %>'></asp:Label></div></td>
  </tr>
  <tr>
  </tr>
  <tr>
    <td class="footStateProduct">发布时间：
        <asp:Label ID="Label3" runat="server" Text='<%# Eval("s_time") %>'></asp:Label></td>
  </tr>
</table>
</ItemTemplate>

</asp:Repeater>

    
    
    </td>
  </tr>
    </table>
    </div>

</div>



</form>





</asp:Content>

